package com.ybliang.plat.common.data.vo.resp.page;

import java.io.Serializable;
import java.util.List;

/**
 * 分页对象
 * @author liangyb1
 */
public class PagingData<T> implements Serializable {

    private static final long serialVersionUID = -5462267238771186257L;
    private int pageNo;

    private int pageSize;

    private int total;

    private List<T> list;

    public PagingData(int pageNo, int pageSize, int total, List<T> list) {
        this.pageNo = pageNo;
        this.pageSize = pageSize;
        this.total = total;
        this.list = list;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
